package com.lujianfei.babymilkmemory.sp

import com.lujianfei.babymilkmemory.MyApplication
import com.lujianfei.babymilkmemory.compose.MainComposeType

class Setting private constructor() {

    companion object {
        val INSTANCE by lazy { Setting() }
    }
    var lastTime by SharedPref(MyApplication.INSTANCE, "drink_milk_lastTime", 0L)
    var lastTimePee by SharedPref(MyApplication.INSTANCE, "pee_lastTime", 0L)
    var lastTimeDiaper by SharedPref(MyApplication.INSTANCE, "diaper_lastTime", 0L)
    var lastOperationLabel by SharedPref(MyApplication.INSTANCE, "last_operation_label", MainComposeType.PEE.label)
}